Release 10.1A: OpenEdge Data Management:
SQL Reference


LEAST

Returns the lowest value among the values of the given expressions.

Syntax

LEAST ( expression , expression, ... ) 

Example

This example illustrates the LEAST function:

SELECT cust_no, last_name,
     LEAST (ADD_MONTHS (start_date, 10), SYSDATE) 
     FROM customer ; 

Notes

Compatibility

Progress extension


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095